#ifndef EDITOR_H
#define EDITOR_H

#include <QObject>
#include "Event.h"

class Editor : public QObject
{
    Q_OBJECT
public:
    explicit Editor(const Event &event, QObject *parent = 0);
    bool insert();
    bool modify(int id);
    bool remove(int id);

private:
    Event m_event;

signals:

public slots:

};

#endif // EDITOR_H
